package com.core.base.searchForm.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.core.base.searchForm.enums.SearchType;

/**
 * 使用HQL的注解类
 * 
 * @author pt-chenqw
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface SearchPropHQL {

	public String paramName() default "";
	
	public String nullValue() default "";
	
	public SearchType searchType() default SearchType.LIKE_WITH_EXACT;
	
}
